'use strict';

var mongoose = require('mongoose');

var sellModel = function () {

    //Define a super simple schema for our products.
    var sellSchema = mongoose.Schema({
        itemId: Number,
        catId: Number,
        userName: String,
        company: String,
        title: String,
        tag: String,
        keyword: String,
        hits: Number,
        Thumb: String,
        Thumb1: String,
        Thumb2: String,
        Thumb3: String,
        Thumb4: String,
        taobaoUrl: String,
        introduce: String
    });

    //Verbose toString method
    sellSchema.methods.whatAmI = function () {

    };

    return mongoose.model('Sell', sellSchema);

};

module.exports = new sellModel();
